import ApiService from "@/core/services/ApiService";

export default {
  getNoticeList(params) {
    return ApiService.get(`/messages/list`, {
      params: params,
    });
  },
  getNoticeDetail(params) {
    return ApiService.get(`/messages/details/` , {
      params: params,
    });
  },
  publishNotice(data) {
    return ApiService.post(`/messages/sendAnnouncement`, data);
  },
};
